package com.pro.xwt.common.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.pro.xwt.common.mapper.BDictionaryMapper;
import com.pro.xwt.common.model.BDictionary;
import com.pro.xwt.common.service.BDictionaryService;
@Service("bDictionaryService")
public class BDictionaryServiceImpl extends AbstractService<BDictionary, Integer> implements BDictionaryService {

	@Autowired
	BDictionaryMapper dao;
	
	public int insert(BDictionary t) {
		return dao.insert(t);
	}

	public int deleteById(Integer id) {
		return dao.deleteById(id);
	}

	public int update(BDictionary t) {
		return dao.update(t);
	}

	public BDictionary findByCondition(Map<String, Object> parameter) {
		return dao.findByCondition(parameter);
	}

	public BDictionary findById(Integer id) {
		return dao.findById(id);
	}

	public List<BDictionary> queryListAll(Map<String, Object> parameter) {
		return dao.queryListAll(parameter);
	}

	public List<BDictionary> queryListByPojo(BDictionary t) {
		return dao.queryListByPojo(t);
	}

	public int count(Map<String, Object> parameter) {
		return dao.count(parameter);
	}

}
